﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ls_RoomList.ascx.cs" Inherits="ZLDC.Estate.UserControl.ls_RoomList" %>


<script src="../js/flexigrid/jquery.js" type="text/javascript"></script>


<link href="../js/flexigrid/flexigrid2.css" rel="stylesheet" type="text/css" />
<script src="../js/flexigrid/flexigrid.js" type="text/javascript"></script>

<script type="text/javascript">
          $("document").ready(function () {

              $("#flex1").flexigrid
              ({

                  url: '../Handler/ls_RoomList.ashx',
                  dataType: 'json',
                  colModel: [
                  <%=Filed %>

                 ],
                 buttons : [
		{name: '修改', bclass: 'add', onpress : add},
		{name: '删除', bclass: 'delete', onpress : de},
		{separator: true}
		],

                  usepager: true,

                  title: '页面信息',
                  useRp: true,
                  rp: 10,
                  showTableToggleBtn: true,
                  width: '<%=Width %>',
                  height: '<%=Height %>',
                  rpOptions: [10, 15, 20, 25, 40, 60], //可选择设定的每页结果数
                  procmsg: '请等待数据正在加载中 …', //正在处理的提示信息
                  resizable: false, //是否可伸缩
                  pagestat: '当前显示记录 {from} 到 {to} 条，共 {total} 条记录',
                  sortname: '<%=TableID %>',
                  qtype:'<%=TableName %>,<%=Where %>',
    
                  checkbox: false
                  //onRowDblclick: rowdbclick//rowdbclick自定义函数

                  //sortorder: "asc",//此列由于存储过程原因无法用
              });
          });

        
          
         
         
</script>
<body style="background-color: #f7fbff">
    <table id="flex1" style="display: none">
    </table>
</body>


